﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000257 RID: 599
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueLineupAvatarInfo : IMessage<ChessRogueLineupAvatarInfo>, IMessage, IEquatable<ChessRogueLineupAvatarInfo>, IDeepCloneable<ChessRogueLineupAvatarInfo>, IBufferMessage
	{
		// Token: 0x170007F2 RID: 2034
		// (get) Token: 0x06001B16 RID: 6934 RVA: 0x0004E539 File Offset: 0x0004C739
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueLineupAvatarInfo> Parser
		{
			get
			{
				return ChessRogueLineupAvatarInfo._parser;
			}
		}

		// Token: 0x170007F3 RID: 2035
		// (get) Token: 0x06001B17 RID: 6935 RVA: 0x0004E540 File Offset: 0x0004C740
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueLineupAvatarInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170007F4 RID: 2036
		// (get) Token: 0x06001B18 RID: 6936 RVA: 0x0004E552 File Offset: 0x0004C752
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueLineupAvatarInfo.Descriptor;
			}
		}

		// Token: 0x06001B19 RID: 6937 RVA: 0x0004E559 File Offset: 0x0004C759
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLineupAvatarInfo()
		{
		}

		// Token: 0x06001B1A RID: 6938 RVA: 0x0004E561 File Offset: 0x0004C761
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLineupAvatarInfo(ChessRogueLineupAvatarInfo other) : this()
		{
			this.avatarId_ = other.avatarId_;
			this.hGHJDOPFMCB_ = other.hGHJDOPFMCB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001B1B RID: 6939 RVA: 0x0004E592 File Offset: 0x0004C792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueLineupAvatarInfo Clone()
		{
			return new ChessRogueLineupAvatarInfo(this);
		}

		// Token: 0x170007F5 RID: 2037
		// (get) Token: 0x06001B1C RID: 6940 RVA: 0x0004E59A File Offset: 0x0004C79A
		// (set) Token: 0x06001B1D RID: 6941 RVA: 0x0004E5A2 File Offset: 0x0004C7A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x170007F6 RID: 2038
		// (get) Token: 0x06001B1E RID: 6942 RVA: 0x0004E5AB File Offset: 0x0004C7AB
		// (set) Token: 0x06001B1F RID: 6943 RVA: 0x0004E5B3 File Offset: 0x0004C7B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HGHJDOPFMCB
		{
			get
			{
				return this.hGHJDOPFMCB_;
			}
			set
			{
				this.hGHJDOPFMCB_ = value;
			}
		}

		// Token: 0x06001B20 RID: 6944 RVA: 0x0004E5BC File Offset: 0x0004C7BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueLineupAvatarInfo);
		}

		// Token: 0x06001B21 RID: 6945 RVA: 0x0004E5CA File Offset: 0x0004C7CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueLineupAvatarInfo other)
		{
			return other != null && (other == this || (this.AvatarId == other.AvatarId && this.HGHJDOPFMCB == other.HGHJDOPFMCB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001B22 RID: 6946 RVA: 0x0004E608 File Offset: 0x0004C808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this.HGHJDOPFMCB != 0U)
			{
				num ^= this.HGHJDOPFMCB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001B23 RID: 6947 RVA: 0x0004E660 File Offset: 0x0004C860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001B24 RID: 6948 RVA: 0x0004E668 File Offset: 0x0004C868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001B25 RID: 6949 RVA: 0x0004E674 File Offset: 0x0004C874
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HGHJDOPFMCB != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.HGHJDOPFMCB);
			}
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.AvatarId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001B26 RID: 6950 RVA: 0x0004E6D0 File Offset: 0x0004C8D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this.HGHJDOPFMCB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HGHJDOPFMCB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001B27 RID: 6951 RVA: 0x0004E728 File Offset: 0x0004C928
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueLineupAvatarInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			if (other.HGHJDOPFMCB != 0U)
			{
				this.HGHJDOPFMCB = other.HGHJDOPFMCB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001B28 RID: 6952 RVA: 0x0004E778 File Offset: 0x0004C978
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001B29 RID: 6953 RVA: 0x0004E784 File Offset: 0x0004C984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.AvatarId = input.ReadUInt32();
					}
				}
				else
				{
					this.HGHJDOPFMCB = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000B60 RID: 2912
		private static readonly MessageParser<ChessRogueLineupAvatarInfo> _parser = new MessageParser<ChessRogueLineupAvatarInfo>(() => new ChessRogueLineupAvatarInfo());

		// Token: 0x04000B61 RID: 2913
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B62 RID: 2914
		public const int AvatarIdFieldNumber = 11;

		// Token: 0x04000B63 RID: 2915
		private uint avatarId_;

		// Token: 0x04000B64 RID: 2916
		public const int HGHJDOPFMCBFieldNumber = 8;

		// Token: 0x04000B65 RID: 2917
		private uint hGHJDOPFMCB_;
	}
}
